package com.lb.actuator.rest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * test
 * @author 001030
 */
@RestController
public class TestController {

    private static final Logger LOGGER = LoggerFactory.getLogger(TestController.class);

    /**
     * org.springframework.boot.actuate.logging.LoggersEndpoint
     * @return
     */
    @GetMapping("/test")
    public String test(){
        LOGGER.debug("cs2019  debug");

        return "test";
    }

}
